package com.wisewin.circle.dao;

import com.wisewin.circle.entity.db.TrendCommentDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.Map;
import java.util.List;

@Component
public interface TrendCommentDAO {

    public void insert(@Param("obj")TrendCommentDO trendCommentDO);

    public TrendCommentDO queryTrendCommentById(Integer commentId);

    public void delete(Integer commentId);

    public void updateHeartNum(Integer commentId);

    public void cancleHeartNum(Integer commentId);

    public List<TrendCommentDO> queryTrendCommentList(Map<String, Object> map);
}
